package com.basic.system.controller.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;



public class    AddSysDeptDto  implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "父部门ID")
    private Long parentId;

    @ApiModelProperty(value = "祖级列表")
    private String ancestors;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "显示顺序")
    private Short orderNum;

    @ApiModelProperty(value = "负责人")
    private String leader;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "部门状态（ZC正常 TY停用）")
    private String status;

    @ApiModelProperty(value = "所属系统")
    private Integer systemId;

    @ApiModelProperty(value = "创建者")
    private String createBy;

    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @ApiModelProperty(value = "添加类型")
    private String type;
    @ApiModelProperty(value = "公司类型")
    private String deptType;

    public String getDeptType() {
        return deptType;
    }

    public void setDeptType(String deptType) {
        this.deptType = deptType;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public AddSysDeptDto() {
    }

    public AddSysDeptDto(Long parentId, String ancestors, String deptName, Short orderNum, String leader, String phone, String email, String status, Integer systemId, String createBy, String updateBy) {
        this.parentId = parentId;
        this.ancestors = ancestors;
        this.deptName = deptName;
        this.orderNum = orderNum;
        this.leader = leader;
        this.phone = phone;
        this.email = email;
        this.status = status;
        this.systemId = systemId;
        this.createBy = createBy;
        this.updateBy = updateBy;
    }

    /**
     * 获取
     * @return parentId
     */
    public Long getParentId() {
        return parentId;
    }

    /**
     * 设置
     * @param parentId
     */
    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    /**
     * 获取
     * @return ancestors
     */
    public String getAncestors() {
        return ancestors;
    }

    /**
     * 设置
     * @param ancestors
     */
    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }

    /**
     * 获取
     * @return deptName
     */
    public String getDeptName() {
        return deptName;
    }

    /**
     * 设置
     * @param deptName
     */
    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    /**
     * 获取
     * @return orderNum
     */
    public Short getOrderNum() {
        return orderNum;
    }

    /**
     * 设置
     * @param orderNum
     */
    public void setOrderNum(Short orderNum) {
        this.orderNum = orderNum;
    }

    /**
     * 获取
     * @return leader
     */
    public String getLeader() {
        return leader;
    }

    /**
     * 设置
     * @param leader
     */
    public void setLeader(String leader) {
        this.leader = leader;
    }

    /**
     * 获取
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * 获取
     * @return email
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置
     * @param email
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * 获取
     * @return status
     */
    public String getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * 获取
     * @return systemId
     */
    public Integer getSystemId() {
        return systemId;
    }

    /**
     * 设置
     * @param systemId
     */
    public void setSystemId(Integer systemId) {
        this.systemId = systemId;
    }

    /**
     * 获取
     * @return createBy
     */
    public String getCreateBy() {
        return createBy;
    }

    /**
     * 设置
     * @param createBy
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    /**
     * 获取
     * @return updateBy
     */
    public String getUpdateBy() {
        return updateBy;
    }

    /**
     * 设置
     * @param updateBy
     */
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String toString() {
        return "AddSysDeptDto{serialVersionUID = " + serialVersionUID + ", parentId = " + parentId + ", ancestors = " + ancestors + ", deptName = " + deptName + ", orderNum = " + orderNum + ", leader = " + leader + ", phone = " + phone + ", email = " + email + ", status = " + status + ", systemId = " + systemId + ", createBy = " + createBy + ", updateBy = " + updateBy + "}";
    }
}
